<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
<?php 
    if(isset($this->pageTitle)){
        echo $this->pageTitle;
    }else {
        $config = config::get('info');
        echo $config['pageTitle'];
    }
 ?>
</title>
<!--
-->
<link rel="stylesheet" type="text/css" href="/css/superfish-admin.css" media="screen">
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen" title="default" />
<link rel="stylesheet" href="/js/jquery/themes/ui-darkness/jquery.ui.all.css">
<link rel="stylesheet" href="/js/jquery/themes/demos.css">
<!-- [Self] -->
<script src="/js/common.js" type="text/javascript"></script> 
<script src="/js/jx.js" type="text/javascript"></script>
<script src="/js/rc.js" type="text/javascript"></script>
<script src="/js/shortcut.js" type="text/javascript"></script>
<?php 
	if($this->enableJquery == "")
	{
 ?>
<script src="/js/jquery/jquery-1.6.2.js" type="text/javascript"></script> 
<script src="/js/jquery/jquery.ui.core.js" type="text/javascript"></script>
<script src="/js/jquery/date_picker/jquery.ui.datepicker.js"></script>
<?php
	}
 ?>
<!-- Custom jquery scripts -->
<script type="text/javascript" src="/js/hoverIntent.js"></script>
<script type="text/javascript" src="/js/superfish.js"></script>
<script type="text/javascript">
jQuery(function(){
    jQuery('ul.sf-menu').superfish();
});  
if(!history.pushState){
    common.setupPushState();
}else{
    window.onpopstate = function(event) {
        common.onpopstate(event);
    };
}      
shortcut.add("Ctrl+Shift+F",function() {
	common.loadFinder('none');
});

shortcut.add("Ctrl+Shift+S",function() {
	save();
});
shortcut.add("Ctrl+Shift+N",function() {
	add();
});
</script>
</head>
<body>
<textarea id="log" style="display:none;width:100%;height:200px"></textarea>
<input type="hidden" id="isFirstButton" value="0" />
<div class="clear">&nbsp;</div>
<!--  start nav-ouFter-repeat................................................................................................. START -->
<div class="nav-outer-repeat"> 
<!--  start nav-outer -->
<div class="nav-outer"> 

		<!-- start nav-right -->
		<div id="nav-right">
		<?php
            global $auth;
            $user = $auth->getIdentity();
            if((int)$user->ID_U != 0)
            {
        ?>

			<div class="nav-divider">&nbsp;</div>
			<a href="<?php echo $this->baseUrl("/auth/logout/index");?>" id="logout"><img src="/images/shared/nav/nav_logout.gif" width="100" height="14" alt="" /></a>
			<div class="clear">&nbsp;</div>

			<!--  start account-content -->
			<div class="account-content">
			</div>
			<!--  end account-content -->
		<?php } else { ?>

            <div class="nav-divider">&nbsp;</div>
<!--			<div class="showhide-account"><img src="/images/shared/nav/nav_register.gif" width="93" height="14" alt="" /></div>-->
			<div class="nav-divider">&nbsp;</div>
			<a href="<?php echo $this->baseUrl("/auth/logout/index");?>" id="logout"><img src="/images/shared/nav/dang-nhap.gif" width="100" height="14" alt="" /></a>
			<div class="clear">&nbsp;</div>

			<!--  start account-content -->
			<div class="account-content">
			</div>
			<!--  end account-content -->

        <?php } ?>
		</div>
		<!-- end nav-right -->

		<div class="nav">
		<ul class="sf-menu">	
            <li class="current">
                 <a href="/admin/index/index">Trang điều khiển</a>
            </li>
            <div class="nav-divider"></div>
            <li class="current">
                <a href="/contact/admin/index">Liên Hệ</a>
            </li>
            <div class="nav-divider"></div>
            <li class="current">
                <a href="#">Danh mục</a>
                <ul>                    
                    <li class="current">
                        <a href="/danhmuc/category/index">Danh mục loại tour</a>
                    </li>                  
                    <li class="current">
                        <a href="/danhsachcongty/danhsachcongty/index">Danh mục công ty</a>
                    </li>
					<li class="current">
                        <a href="/city/danhmuctinhthanh/index">Danh mục tỉnh thành</a>
                    </li>
					<li class="current">
                        <a href="/district/danhmucquanhuyen/index">Danh mục quận huyện</a>
                    </li>
                     <li class="current">
                        <a href="/globalconfig/storecategory/index">Danh mục loại cửa hàng</a>
                    </li>
					 <li class="current">
                        <a href="/globalconfig/productcategory/index">Danh mục loại sản phẩm</a>
                    </li>
					<li class="current">
                        <a href="/globalconfig/dealcategory/index">Danh mục loại deal</a>
                    </li>
					<li class="current">
                        <a href="/globalconfig/pricecategory/index">Quản lý giá đăng deal</a>
                    </li>
					 <li class="current">
                        <a href="/storemanagement/store/index">Quản lý thông tin cửa hàng</a>
                    </li>
					 <li class="current">
                        <a href="/storemanagement/index/index">Test</a>
                    </li>
                </ul>
            </li>
			<div class="nav-divider"></div>
			<li class="current">
				<a href="#a">Quản trị</a>
				<ul>                    
                    <li class="current">
                        <a href="/admin/users/index">Quản trị người dùng</a>
                    </li>              
                    <li class="current">
                        <a href="/admin/roles/index">Quản trị vai trò</a>
                    </li>                    
                   <li class="current">
                        <a href="/admin/config/index">Cấu hình hệ thống</a>
                    </li>
                    <li class="current">
                        <a href="/generate/index/index">Công cụ phát triển</a>
                        <ul>
                            <li class="current"> <a href="/generate/index/index">Phát triển mã nguồn</a></li> 
                            <li class="current"> <a href="/generate/data/index">Phát triển dữ liệu</a></li>
                        </ul>                        
                    </li>
                </ul>
			</li>			
		</ul>
</div>
<div class="clear"></div>
<!--  start nav-outer -->
</div>
<!--  start nav-outer-repeat................................................... END -->
 
 <div class="clear"></div>
 
<!-- start content-outer -->
<div id="content-outer">
<!-- start content -->
<div id="content">
<div id="page-heading">
    <div id="page-heading-title" ><h1><?=$this->maintitle?></h1></div>
    <div id="page-heading-button">
        <div id="blank-global-button"></div>
        <div class="item" style="display:none" onclick="del()" id="itemButton0">
            <div id="delete-global-button"></div>
            <div class="button-title">Xóa</div>
        </div>
        <div class="item" style="display:none" onclick="add()" id="itemButton1" title="Ctrl+Shift+N" >
            <div id="addnew-global-button"></div>
            <div class="button-title-addnew" >Thêm mới</div>
        </div>
        <div class="item" style="display:none" onclick="save()" id="itemButton2" title="Ctrl+Shift+S">
            <div id="save-global-button"></div>
            <div class="button-title">Lưu</div>
        </div>
        <div class="item" style="display:none" onclick="back()" id="itemButton3">
            <div id="back-global-button"></div>
            <div class="button-title">Trở lại</div>
        </div>
        <div class="item" style="display:none" onclick="help()" id="itemButton4">
            <div id="help-global-button"></div>
            <div class="button-title-addnew">Trợ giúp</div>
        </div>
    </div>
</div>
<table border="0" width="100%"  cellpadding="0" cellspacing="0" id="content-table">
<tr>
	<th rowspan="3" class="sized"><img src="/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
	<th class="topleft"></th>
	<td id="tbl-border-top">&nbsp;</td>
	<th class="topright"></th>
	<th rowspan="3" class="sized"><img src="/images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
</tr>
<tr>
	<td id="tbl-border-left"></td>
	<td>
	<!--  start content-table-inner -->
	<div id="content-table-inner">
	
	<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<tr valign="top">
	<td>
	<!--  start table-content  -->
		<div id="table-content">
			<h2><?=$this->title?> </h2>
			<h3><?=$this->subtitle?></h3>           
            <!-- locate REGION_HARD_FORM| -->
			<div id="hard_form">
                <!-- locate REGION_HARD_FINDER| -->
				<div id="finder" style="display:none;">
                <form method="POST" action="/admin/search/index" name="frmSearch">
                <table border="0" >
                    <tr>
                        <td colspan="2">
                            <input id="searchContent" value="<?=$this->search?>" onkeyup="common.search(event)" class="search-form" type="text" name="searchContent">
                        </td>
                        <td>
                            <div style="float:left;">
                            <input type="button" value="search" class="form_search" onclick="common.searchButton()">
                            </div>
                            <div style="float:left;padding-top:8px;">
                            <a id="search-link" onclick="common.showHideSearchAdv()"> Tìm kiếm nâng cao</a>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2"></td>
                    </tr>                    
                </table>
                <br />
                <table id="table-search-adv" style="display:none">
                    <input type="hidden" name="isSearchAdv" id="" value="0" />
<!--                    <tr>
                        <th>Có cụ từ chính xác :</th>
                        <td><input type="text" class="inp-form" name="mustText" id="year" value="" /></td>
                    </tr>
                    <tr>
                        <th >Không có các từ :</th>
                        <td><input type="text" class="inp-form" name="requireText" id="year" value="" /></td>
                    </tr>-->
                    <tr>
                        <th >   </th>
                        <td><input type="text" class="inp-form" name="code" id="maso" value="" /></td>
                    </tr>
                    <tr>
                        <th >Tên : </th>
                        <td><input type="text" class="inp-form" name="ten" id="ten" value="" /></td>
                    </tr>
		    <tr>
                        <th >  : </th>
                        <td><input type="text" class="inp-form" name="tacgia" id="tacgia" value="" /></td>
                    </tr>
                    <tr>
                        <th > : </th>
                        <td><input type="text" class="inp-form" name="linhvuc" id="linhvuc" value="" /></td>
                    </tr>
                    <tr>
                        <th >    </th>
                        <td><input type="text" class="inp-form" name="year" id="year" value="" maxlength="4" /> </td>
                    </tr>
                    <tr>
                        <th >   </th>
                        <td><input type="text" class="inp-form" name="nhaxb" id="nhaxb" value="" maxlength="100" /> </td>
                    </tr>
                    <tr>
                        <th >   </th>
                        <td>
                           
                        </td>
                    </tr>
                </table>
                </form>
                <br />
				</div>
			</div>
             <div id="hard_content">
				<!-- locate REGION_HARD_CONTENT| -->               
			</div>  
			<div id="main_content" >
				<!-- locate REGION_CONTENT| -->
				<?php echo $this->layout()->content ?>
               
			</div>  
		</div>
	</td>
	<td>	
	<!--  start related-activities -->
	<!-- locate REGION_RIGHT_MENU| -->
	<div id="related-activities">
		
		<!--  start related-act-top -->
		<div id="related-act-top">
		<img src="/images/forms/header_related_act.png" width="271" height="43" alt="" />
		</div>
		<!-- end related-act-top -->
		
		<!--  start related-act-bottom -->
		<div id="related-act-bottom">
		
			<!--  start related-act-inner -->
			<div id="related-act-inner">
			
							
				<div class="left"><a href=""><img src="/images/forms/icon_minus.gif" width="21" height="21" alt="" /></a></div>
				<div class="right">
					<h5>Quản lý danh mục</h5>
					Các danh mục hệ thống
                                        <ul class="greyarrow">
						<li><a href="/danhsachcongty/danhsachcongty/index">Danh mục công ty</a></li>
						<li><a href="/danhmuc/category/index">Danh mục loại tour</a></li>
						<li><a href="/city/danhmuctinhthanh/index">Danh mục tỉnh thành</a></li>
						<li><a href="/district/danhmucquanhuyen/index">Danh mục quận huyện</a></li>
						<li><a href="/globalconfig/storecategory/index">Danh mục loại cửa hàng</a></li>
						<li>
							<a href="/globalconfig/productcategory/index">Danh mục loại sản phẩm</a>
						</li>
						<li><a href="/globalconfig/dealcategory/index">Danh mục loại deal</a></li>
						<li >	
							<a href="/globalconfig/pricecategory/index">Quản lý giá đăng deal</a>
						</li>
						<li><a href="/storemanagement/store/index">Quản lý thông tin cửa hàng</a></li>
						<li><a href="/storemanagement/index/index">Test</a></li>
					</ul>
				</div>
				
				<div class="clear"></div>

				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img src="/images/forms/icon_minus.gif" width="21" height="21" alt="" /></a></div>
				<div class="right">
					<h5>Quản trị hệ thống</h5>
					Các chức năng quản trị hệ thống 
                    <ul class="greyarrow">
                        <li><a href="/admin/users/index">Quản trị người dùng</a></li>
                        <li class="current">
                            <a href="/admin/roles/index">Quản trị vai trò</a>
                        </li>
                        <li class="current">
                            <a href="/admin/config/index">Cấu hình hệ thống</a>
                        </li>
					</ul>
				</div>
				<div class="clear"></div>	
			</div>
			<!-- end related-act-inner -->
			<div class="clear"></div>
		
		</div>
		<!-- end related-act-bottom -->
	
	</div>
	<!-- end related-activities -->

</td>
</tr>
<tr>
<td><img src="/images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
<td></td>
</tr>
</table>
 
<div class="clear"></div>
 

</div>
<!--  end content-table-inner  -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</table>



<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer --> 

<div class="clear">&nbsp;</div>
    
<!-- start footer -->         
<div id="footer">
	<!--  start footer-left -->
	<div id="footer-left">

	<!--  end footer-left -->
	<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
</body>
</html>